gsk: Don't store the uniform and attribute location twice
authorEmmanuele Bassi <ebassi@gnome.org>
Sun, 3 Jul 2016 21:54:30 +0000 (22:54 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 18 Oct 2016 10:49:07 +0000 (11:49 +0100)
commit9e3b0f5aa081d4cc332449b29374289513c90b58
tree35bff99268ccc658c6023c14d944c0a566ca635d
parent12db9ee164007dedac55cef9dd5bb495f05094f7
gsk: Don't store the uniform and attribute location twice

We should keep the ShaderBuilder around and use it to query the various
uniform and attribute locations when needed, instead of storing those
offsets into the Renderer instance, and copying them. This allows a bit
more flexibility, once we have more than one program built into the
renderer.
gsk/gskglrenderer.c